
var YT;

/**
 * @enum 
 */
YT.PlayerState = {
    "ENDED" : 0,
    "PLAYING": 1,
    "PAUSED": 2,
    "BUFFERING": 3,
    "CUED": 5
    };
    
/**
 * @constructor
 * @param {...*} var_args
 */
YT.Player;
// Different from standard prototype - this only takes two parameters
YT.Player.prototype.addEventListener = function (a,b) {};
YT.Player.prototype.cueVideoById;
YT.Player.prototype.loadVideoById;
YT.Player.prototype.loadVideoByUrl;
YT.Player.prototype.playVideo;
YT.Player.prototype.pauseVideo;
YT.Player.prototype.stopVideo;
YT.Player.prototype.seekTo;
YT.Player.prototype.clearVideo;
YT.Player.prototype.mute;
YT.Player.prototype.unMute;
YT.Player.prototype.isMuted;
YT.Player.prototype.setVolume;
YT.Player.prototype.getVolume;
YT.Player.prototype.setSize;
YT.Player.prototype.getVideoBytesLoaded;
YT.Player.prototype.getVideoStartBytes;
YT.Player.prototype.getPlayerState;
YT.Player.prototype.getCurrenttime;
YT.Player.prototype.getPlaybackQuality;
YT.Player.prototype.setPlaybackQuality;
YT.Player.prototype.getAvailableQualityLevels;
YT.Player.prototype.getDuration;
YT.Player.prototype.getVideoUrl;
YT.Player.prototype.getVideoEmbedCode;

//var YTPlayer =YT.Player;

/**
 * @typedef {YT.Player}
 */
var YT_AS3_Player
